package cn.com.miao.lynx.rpc.dubbo.core;

import com.alibaba.dubbo.config.AbstractConfig;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;

import static com.alibaba.boot.dubbo.util.DubboUtils.DUBBO_PREFIX;

/**
 * SpringCloudAlibabaDubboAutoConfiguration
 *
 * @title: SpringCloudAlibabaDubboAutoConfiguration
 * @description:
 * @author: dengmiao
 * @create: 2019-12-24 14:22
 **/
@ConditionalOnProperty(prefix = DUBBO_PREFIX, name = "enabled", matchIfMissing = true, havingValue = "true")
@ConditionalOnClass(AbstractConfig.class)
@Configuration
public class SpringCloudAlibabaDubboAutoConfiguration {
}
